package com.fly.common.request.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description
 * @author: liying.fu
 * @Date: 2018/11/24 下午2:14
 */
@Data
public class LoginRequest {
    @ApiModelProperty(value = "账户")
    @NotNull(message = "账号不能为空")
    private String userName;
    @ApiModelProperty(value = "密码")
    @NotNull(message = "密码不能为空")
    private String password;
}
